[INFO] cloning repository https://github.com/juliusjoska/sepot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juliusjoska/sepot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuliusjoska%2Fsepot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuliusjoska%2Fsepot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ff4c82a7fd07b83ff9849c102c62601442e8f20e
[INFO] testing juliusjoska/sepot against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuliusjoska%2Fsepot" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/juliusjoska/sepot
[INFO] finished tweaking git repo https://github.com/juliusjoska/sepot
[INFO] tweaked toml for git repo https://github.com/juliusjoska/sepot written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/juliusjoska/sepot on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/juliusjoska/sepot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zmij v1.0.15
[INFO] [stderr]   Downloaded fastbloom v0.14.1
[INFO] [stderr]   Downloaded webpki-root-certs v1.0.5
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.8
[INFO] [stderr]   Downloaded cc v1.2.53
[INFO] [stderr]   Downloaded rustyline v16.0.0
[INFO] [stderr]   Downloaded sodiumoxide v0.2.7
[INFO] [stderr]   Downloaded libsodium-sys v0.2.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f28efb2aa427caef667ba24d2dbf11b28fad47cfff75faf99a5f423ce780db48
[INFO] running `Command { std: "docker" "start" "-a" "f28efb2aa427caef667ba24d2dbf11b28fad47cfff75faf99a5f423ce780db48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f28efb2aa427caef667ba24d2dbf11b28fad47cfff75faf99a5f423ce780db48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f28efb2aa427caef667ba24d2dbf11b28fad47cfff75faf99a5f423ce780db48", kill_on_drop: false }`
[INFO] [stdout] f28efb2aa427caef667ba24d2dbf11b28fad47cfff75faf99a5f423ce780db48
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 390d6cbf87c04d0e8a7b42ac5720e6a13dcc8c93d2bc5636cd1802c01dd86b1e
[INFO] running `Command { std: "docker" "start" "-a" "390d6cbf87c04d0e8a7b42ac5720e6a13dcc8c93d2bc5636cd1802c01dd86b1e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling find-msvc-tools v0.1.8
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling openssl-probe v0.2.0
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling quinn-udp v0.5.14
[INFO] [stderr]    Compiling zmij v1.0.15
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling nibble_vec v0.1.0
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling quinn v0.11.9
[INFO] [stderr]    Compiling cc v1.2.53
[INFO] [stderr]    Compiling lru-slab v0.1.2
[INFO] [stderr]    Compiling clap_lex v0.7.7
[INFO] [stderr]    Compiling signature v1.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling ed25519 v1.5.3
[INFO] [stderr]    Compiling radix_trie v0.2.1
[INFO] [stderr]    Compiling clap_builder v4.5.54
[INFO] [stderr]    Compiling directories v6.0.0
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling libsodium-sys v0.2.7
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling fd-lock v4.0.4
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling rustyline v16.0.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling fastbloom v0.14.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling tungstenite v0.26.2
[INFO] [stderr]    Compiling clap v4.5.54
[INFO] [stderr]    Compiling rustls-platform-verifier v0.6.2
[INFO] [stderr]    Compiling quinn-proto v0.11.13
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling tokio-tungstenite v0.26.2
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling sodiumoxide v0.2.7
[INFO] [stderr]    Compiling sepot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `MaybeTlsStream` and `WebSocketStream`
[INFO] [stdout]  --> src/network/mod.rs:9:62
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_tungstenite::{connect_async, tungstenite::Message, WebSocketStream, MaybeTlsStream};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `stream::SplitSink` and `stream::SplitStream`
[INFO] [stdout]   --> src/network/mod.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 | use futures_util::{StreamExt, SinkExt, stream::SplitSink, stream::SplitStream};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpStream`
[INFO] [stdout]   --> src/network/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tokio::net::TcpStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ContactList`
[INFO] [stdout]  --> src/cli/mod.rs:5:47
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::identity::{LocalIdentity, Contact, ContactList, PublicIdentity};
[INFO] [stdout]   |                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WireMessage`
[INFO] [stdout]  --> src/cli/mod.rs:7:54
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::protocol::{PlaintextMessage, MessageType, WireMessage};
[INFO] [stdout]   |                                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::crypto::EncryptionKeyPair`
[INFO] [stdout]  --> src/cli/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::crypto::EncryptionKeyPair;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]    --> src/network/mod.rs:165:44
[INFO] [stdout]     |
[INFO] [stdout] 165 |                     NetworkCommand::Send { to, message } => {
[INFO] [stdout]     |                                            ^^ help: try ignoring the field: `to: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `EncryptionFailed` and `SignatureInvalid` are never constructed
[INFO] [stdout]   --> src/crypto/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum CryptoError {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 19 |     #[error("Encryption failed")]
[INFO] [stdout] 20 |     EncryptionFailed,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     SignatureInvalid,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CryptoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `public_key_from_base64` is never used
[INFO] [stdout]   --> src/crypto/mod.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl EncryptionKeyPair {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn public_key_from_base64(s: &str) -> Result<PublicKey, CryptoError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `sign` and `verify` are never used
[INFO] [stdout]    --> src/crypto/mod.rs:95:12
[INFO] [stdout]     |
[INFO] [stdout]  87 | impl SigningKeyPair {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn sign(&self, message: &[u8]) -> Signature {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn verify(public_key: &sign::PublicKey, message: &[u8], signature: &Signature) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `encrypt` and `decrypt` are never used
[INFO] [stdout]    --> src/crypto/mod.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl EncryptedMessage {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] 118 |     /// Encrypt a message for a recipient using their public key
[INFO] [stdout] 119 |     pub fn encrypt(
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn decrypt(
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NotFound` is never constructed
[INFO] [stdout]   --> src/identity/mod.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum IdentityError {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] 18 |     #[error("Identity not found")]
[INFO] [stdout] 19 |     NotFound,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IdentityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_display_name` and `verify` are never used
[INFO] [stdout]    --> src/identity/mod.rs:175:12
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl Contact {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn set_display_name(&mut self, name: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn verify(&mut self) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `remove` are never used
[INFO] [stdout]    --> src/identity/mod.rs:192:12
[INFO] [stdout]     |
[INFO] [stdout] 191 | impl ContactList {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 192 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn remove(&mut self, identity_id: &Uuid) -> Result<(), IdentityError> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidSignature` is never constructed
[INFO] [stdout]   --> src/protocol/mod.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum ProtocolError {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 21 |     InvalidSignature,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProtocolError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_receipt`, `typing`, `with_reply`, `to_bytes`, and `from_bytes` are never used
[INFO] [stdout]    --> src/protocol/mod.rs:70:12
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl PlaintextMessage {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  70 |     pub fn read_receipt(sender_id: Uuid, recipient_id: Uuid, message_id: Uuid) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  82 |     pub fn typing(sender_id: Uuid, recipient_id: Uuid) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn with_reply(mut self, reply_to: Uuid) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn to_bytes(&self) -> Result<Vec<u8>, ProtocolError> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn from_bytes(bytes: &[u8]) -> Result<Self, ProtocolError> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `create`, `decrypt`, `to_bytes`, and `from_bytes` are never used
[INFO] [stdout]    --> src/protocol/mod.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 127 | impl WireMessage {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 128 |     /// Create a wire message by encrypting and signing
[INFO] [stdout] 129 |     pub fn create(
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub fn decrypt(
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn to_bytes(&self) -> Result<Vec<u8>, ProtocolError> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn from_bytes(bytes: &[u8]) -> Result<Self, ProtocolError> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mark_read` is never used
[INFO] [stdout]    --> src/storage/mod.rs:219:12
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl Storage {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 219 |     pub fn mark_read(&mut self, contact_id: Uuid) -> Result<(), StorageError> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotConnected`, `PeerNotFound`, and `SendError` are never constructed
[INFO] [stdout]   --> src/network/mod.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum NetworkError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     NotConnected,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 27 |     #[error("Peer not found")]
[INFO] [stdout] 28 |     PeerNotFound,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 29 |     #[error("Send error")]
[INFO] [stdout] 30 |     SendError,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NetworkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NetworkEvent` is never used
[INFO] [stdout]   --> src/network/mod.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub enum NetworkEvent {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NetworkConfig` is never constructed
[INFO] [stdout]   --> src/network/mod.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct NetworkConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NetworkManager` is never constructed
[INFO] [stdout]   --> src/network/mod.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct NetworkManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NetworkCommand` is never used
[INFO] [stdout]   --> src/network/mod.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 | enum NetworkCommand {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `subscribe`, `connect`, `send_message`, `disconnect`, and `is_connected` are never used
[INFO] [stdout]    --> src/network/mod.rs:83:12
[INFO] [stdout]     |
[INFO] [stdout]  81 | impl NetworkManager {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  82 |     /// Create a new network manager
[INFO] [stdout]  83 |     pub fn new(config: NetworkConfig) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn subscribe(&self) -> broadcast::Receiver<NetworkEvent> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub async fn connect(&mut self) -> Result<(), NetworkError> {
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     pub async fn send_message(&self, to: Uuid, message: WireMessage) -> Result<(), NetworkError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub async fn disconnect(&self) -> Result<(), NetworkError> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub fn is_connected(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidCommand` is never constructed
[INFO] [stdout]   --> src/cli/mod.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum CliError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 23 |     InvalidCommand,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CliError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 59s
[INFO] running `Command { std: "docker" "inspect" "390d6cbf87c04d0e8a7b42ac5720e6a13dcc8c93d2bc5636cd1802c01dd86b1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "390d6cbf87c04d0e8a7b42ac5720e6a13dcc8c93d2bc5636cd1802c01dd86b1e", kill_on_drop: false }`
[INFO] [stdout] 390d6cbf87c04d0e8a7b42ac5720e6a13dcc8c93d2bc5636cd1802c01dd86b1e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 37a6b2039b555faa5f661e58f5964d8199f42ce49843adcfe2b435d720b3c29e
[INFO] running `Command { std: "docker" "start" "-a" "37a6b2039b555faa5f661e58f5964d8199f42ce49843adcfe2b435d720b3c29e", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling quinn v0.11.9
[INFO] [stderr]    Compiling tokio-tungstenite v0.26.2
[INFO] [stderr]    Compiling tokio-test v0.4.5
[INFO] [stderr]    Compiling sepot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `MaybeTlsStream` and `WebSocketStream`
[INFO] [stdout]  --> src/network/mod.rs:9:62
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_tungstenite::{connect_async, tungstenite::Message, WebSocketStream, MaybeTlsStream};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `stream::SplitSink` and `stream::SplitStream`
[INFO] [stdout]   --> src/network/mod.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 | use futures_util::{StreamExt, SinkExt, stream::SplitSink, stream::SplitStream};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpStream`
[INFO] [stdout]   --> src/network/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tokio::net::TcpStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ContactList`
[INFO] [stdout]  --> src/cli/mod.rs:5:47
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::identity::{LocalIdentity, Contact, ContactList, PublicIdentity};
[INFO] [stdout]   |                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WireMessage`
[INFO] [stdout]  --> src/cli/mod.rs:7:54
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::protocol::{PlaintextMessage, MessageType, WireMessage};
[INFO] [stdout]   |                                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::crypto::EncryptionKeyPair`
[INFO] [stdout]  --> src/cli/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::crypto::EncryptionKeyPair;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]    --> src/network/mod.rs:165:44
[INFO] [stdout]     |
[INFO] [stdout] 165 |                     NetworkCommand::Send { to, message } => {
[INFO] [stdout]     |                                            ^^ help: try ignoring the field: `to: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `EncryptionFailed` and `SignatureInvalid` are never constructed
[INFO] [stdout]   --> src/crypto/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum CryptoError {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 19 |     #[error("Encryption failed")]
[INFO] [stdout] 20 |     EncryptionFailed,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     SignatureInvalid,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CryptoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `public_key_from_base64` is never used
[INFO] [stdout]   --> src/crypto/mod.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl EncryptionKeyPair {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn public_key_from_base64(s: &str) -> Result<PublicKey, CryptoError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NotFound` is never constructed
[INFO] [stdout]   --> src/identity/mod.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum IdentityError {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] 18 |     #[error("Identity not found")]
[INFO] [stdout] 19 |     NotFound,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IdentityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_display_name` and `verify` are never used
[INFO] [stdout]    --> src/identity/mod.rs:175:12
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl Contact {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn set_display_name(&mut self, name: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn verify(&mut self) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove` is never used
[INFO] [stdout]    --> src/identity/mod.rs:206:12
[INFO] [stdout]     |
[INFO] [stdout] 191 | impl ContactList {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn remove(&mut self, identity_id: &Uuid) -> Result<(), IdentityError> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read_receipt`, `typing`, and `with_reply` are never used
[INFO] [stdout]   --> src/protocol/mod.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl PlaintextMessage {
[INFO] [stdout]    | --------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn read_receipt(sender_id: Uuid, recipient_id: Uuid, message_id: Uuid) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn typing(sender_id: Uuid, recipient_id: Uuid) -> Self {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn with_reply(mut self, reply_to: Uuid) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_bytes` and `from_bytes` are never used
[INFO] [stdout]    --> src/protocol/mod.rs:186:12
[INFO] [stdout]     |
[INFO] [stdout] 127 | impl WireMessage {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn to_bytes(&self) -> Result<Vec<u8>, ProtocolError> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn from_bytes(bytes: &[u8]) -> Result<Self, ProtocolError> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mark_read` is never used
[INFO] [stdout]    --> src/storage/mod.rs:219:12
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl Storage {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 219 |     pub fn mark_read(&mut self, contact_id: Uuid) -> Result<(), StorageError> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotConnected`, `PeerNotFound`, and `SendError` are never constructed
[INFO] [stdout]   --> src/network/mod.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum NetworkError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     NotConnected,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 27 |     #[error("Peer not found")]
[INFO] [stdout] 28 |     PeerNotFound,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 29 |     #[error("Send error")]
[INFO] [stdout] 30 |     SendError,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NetworkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NetworkEvent` is never used
[INFO] [stdout]   --> src/network/mod.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub enum NetworkEvent {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NetworkConfig` is never constructed
[INFO] [stdout]   --> src/network/mod.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct NetworkConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NetworkManager` is never constructed
[INFO] [stdout]   --> src/network/mod.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct NetworkManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NetworkCommand` is never used
[INFO] [stdout]   --> src/network/mod.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 | enum NetworkCommand {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `subscribe`, `connect`, `send_message`, `disconnect`, and `is_connected` are never used
[INFO] [stdout]    --> src/network/mod.rs:83:12
[INFO] [stdout]     |
[INFO] [stdout]  81 | impl NetworkManager {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  82 |     /// Create a new network manager
[INFO] [stdout]  83 |     pub fn new(config: NetworkConfig) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn subscribe(&self) -> broadcast::Receiver<NetworkEvent> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub async fn connect(&mut self) -> Result<(), NetworkError> {
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     pub async fn send_message(&self, to: Uuid, message: WireMessage) -> Result<(), NetworkError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub async fn disconnect(&self) -> Result<(), NetworkError> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub fn is_connected(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidCommand` is never constructed
[INFO] [stdout]   --> src/cli/mod.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum CliError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 23 |     InvalidCommand,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CliError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.65s
[INFO] running `Command { std: "docker" "inspect" "37a6b2039b555faa5f661e58f5964d8199f42ce49843adcfe2b435d720b3c29e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37a6b2039b555faa5f661e58f5964d8199f42ce49843adcfe2b435d720b3c29e", kill_on_drop: false }`
[INFO] [stdout] 37a6b2039b555faa5f661e58f5964d8199f42ce49843adcfe2b435d720b3c29e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5de8fe075f1eb3832002d155bf0ea91be7154f3835e38375304d351a542a6abb
[INFO] running `Command { std: "docker" "start" "-a" "5de8fe075f1eb3832002d155bf0ea91be7154f3835e38375304d351a542a6abb", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `MaybeTlsStream` and `WebSocketStream`
[INFO] [stderr]  --> src/network/mod.rs:9:62
[INFO] [stderr]   |
[INFO] [stderr] 9 | use tokio_tungstenite::{connect_async, tungstenite::Message, WebSocketStream, MaybeTlsStream};
[INFO] [stderr]   |                                                              ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `stream::SplitSink` and `stream::SplitStream`
[INFO] [stderr]   --> src/network/mod.rs:10:40
[INFO] [stderr]    |
[INFO] [stderr] 10 | use futures_util::{StreamExt, SinkExt, stream::SplitSink, stream::SplitStream};
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::net::TcpStream`
[INFO] [stderr]   --> src/network/mod.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use tokio::net::TcpStream;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ContactList`
[INFO] [stderr]  --> src/cli/mod.rs:5:47
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::identity::{LocalIdentity, Contact, ContactList, PublicIdentity};
[INFO] [stderr]   |                                               ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `WireMessage`
[INFO] [stderr]  --> src/cli/mod.rs:7:54
[INFO] [stderr]   |
[INFO] [stderr] 7 | use crate::protocol::{PlaintextMessage, MessageType, WireMessage};
[INFO] [stderr]   |                                                      ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::crypto::EncryptionKeyPair`
[INFO] [stderr]  --> src/cli/mod.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use crate::crypto::EncryptionKeyPair;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `to`
[INFO] [stderr]    --> src/network/mod.rs:165:44
[INFO] [stderr]     |
[INFO] [stderr] 165 |                     NetworkCommand::Send { to, message } => {
[INFO] [stderr]     |                                            ^^ help: try ignoring the field: `to: _`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `EncryptionFailed` and `SignatureInvalid` are never constructed
[INFO] [stderr]   --> src/crypto/mod.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub enum CryptoError {
[INFO] [stderr]    |          ----------- variants in this enum
[INFO] [stderr] 19 |     #[error("Encryption failed")]
[INFO] [stderr] 20 |     EncryptionFailed,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 26 |     SignatureInvalid,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CryptoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `public_key_from_base64` is never used
[INFO] [stderr]   --> src/crypto/mod.rs:63:12
[INFO] [stderr]    |
[INFO] [stderr] 45 | impl EncryptionKeyPair {
[INFO] [stderr]    | ---------------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 63 |     pub fn public_key_from_base64(s: &str) -> Result<PublicKey, CryptoError> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `NotFound` is never constructed
[INFO] [stderr]   --> src/identity/mod.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub enum IdentityError {
[INFO] [stderr]    |          ------------- variant in this enum
[INFO] [stderr] 18 |     #[error("Identity not found")]
[INFO] [stderr] 19 |     NotFound,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `IdentityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `set_display_name` and `verify` are never used
[INFO] [stderr]    --> src/identity/mod.rs:175:12
[INFO] [stderr]     |
[INFO] [stderr] 161 | impl Contact {
[INFO] [stderr]     | ------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 175 |     pub fn set_display_name(&mut self, name: String) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 180 |     pub fn verify(&mut self) {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `remove` is never used
[INFO] [stderr]    --> src/identity/mod.rs:206:12
[INFO] [stderr]     |
[INFO] [stderr] 191 | impl ContactList {
[INFO] [stderr]     | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 206 |     pub fn remove(&mut self, identity_id: &Uuid) -> Result<(), IdentityError> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `read_receipt`, `typing`, and `with_reply` are never used
[INFO] [stderr]   --> src/protocol/mod.rs:70:12
[INFO] [stderr]    |
[INFO] [stderr] 56 | impl PlaintextMessage {
[INFO] [stderr]    | --------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 70 |     pub fn read_receipt(sender_id: Uuid, recipient_id: Uuid, message_id: Uuid) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 82 |     pub fn typing(sender_id: Uuid, recipient_id: Uuid) -> Self {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 94 |     pub fn with_reply(mut self, reply_to: Uuid) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `to_bytes` and `from_bytes` are never used
[INFO] [stderr]    --> src/protocol/mod.rs:186:12
[INFO] [stderr]     |
[INFO] [stderr] 127 | impl WireMessage {
[INFO] [stderr]     | ---------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 186 |     pub fn to_bytes(&self) -> Result<Vec<u8>, ProtocolError> {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 191 |     pub fn from_bytes(bytes: &[u8]) -> Result<Self, ProtocolError> {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `mark_read` is never used
[INFO] [stderr]    --> src/storage/mod.rs:219:12
[INFO] [stderr]     |
[INFO] [stderr]  97 | impl Storage {
[INFO] [stderr]     | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 219 |     pub fn mark_read(&mut self, contact_id: Uuid) -> Result<(), StorageError> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `NotConnected`, `PeerNotFound`, and `SendError` are never constructed
[INFO] [stderr]   --> src/network/mod.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub enum NetworkError {
[INFO] [stderr]    |          ------------ variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 26 |     NotConnected,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 27 |     #[error("Peer not found")]
[INFO] [stderr] 28 |     PeerNotFound,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 29 |     #[error("Send error")]
[INFO] [stderr] 30 |     SendError,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `NetworkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: enum `NetworkEvent` is never used
[INFO] [stderr]   --> src/network/mod.rs:35:10
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub enum NetworkEvent {
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `NetworkConfig` is never constructed
[INFO] [stderr]   --> src/network/mod.rs:54:12
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub struct NetworkConfig {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `NetworkManager` is never constructed
[INFO] [stderr]   --> src/network/mod.rs:69:12
[INFO] [stderr]    |
[INFO] [stderr] 69 | pub struct NetworkManager {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `NetworkCommand` is never used
[INFO] [stderr]   --> src/network/mod.rs:76:6
[INFO] [stderr]    |
[INFO] [stderr] 76 | enum NetworkCommand {
[INFO] [stderr]    |      ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `subscribe`, `connect`, `send_message`, `disconnect`, and `is_connected` are never used
[INFO] [stderr]    --> src/network/mod.rs:83:12
[INFO] [stderr]     |
[INFO] [stderr]  81 | impl NetworkManager {
[INFO] [stderr]     | ------------------- associated items in this implementation
[INFO] [stderr]  82 |     /// Create a new network manager
[INFO] [stderr]  83 |     pub fn new(config: NetworkConfig) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr]  94 |     pub fn subscribe(&self) -> broadcast::Receiver<NetworkEvent> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  99 |     pub async fn connect(&mut self) -> Result<(), NetworkError> {
[INFO] [stderr]     |                  ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 188 |     pub async fn send_message(&self, to: Uuid, message: WireMessage) -> Result<(), NetworkError> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 197 |     pub async fn disconnect(&self) -> Result<(), NetworkError> {
[INFO] [stderr]     |                  ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 205 |     pub fn is_connected(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `InvalidCommand` is never constructed
[INFO] [stderr]   --> src/cli/mod.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub enum CliError {
[INFO] [stderr]    |          -------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 23 |     InvalidCommand,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CliError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `sepot` (bin "sepot" test) generated 22 warnings (run `cargo fix --bin "sepot" -p sepot --tests` to apply 7 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sepot-463afa4f97242757)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test crypto::tests::test_encrypt_decrypt ... ok
[INFO] [stdout] test identity::tests::test_contact_list ... ok
[INFO] [stdout] test crypto::tests::test_signature ... ok
[INFO] [stdout] test identity::tests::test_public_identity_sharing ... ok
[INFO] [stdout] test protocol::tests::test_message_encrypt_decrypt ... ok
[INFO] [stdout] test identity::tests::test_identity_creation ... ok
[INFO] [stdout] test crypto::tests::test_key_generation ... ok
[INFO] [stdout] test crypto::tests::test_symmetric_encryption ... ok
[INFO] [stdout] test storage::tests::test_wrong_password ... ok
[INFO] [stdout] test storage::tests::test_storage_init_and_open ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.72s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5de8fe075f1eb3832002d155bf0ea91be7154f3835e38375304d351a542a6abb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5de8fe075f1eb3832002d155bf0ea91be7154f3835e38375304d351a542a6abb", kill_on_drop: false }`
[INFO] [stdout] 5de8fe075f1eb3832002d155bf0ea91be7154f3835e38375304d351a542a6abb
